cmake_minimum_required(VERSION 3.0.2)
project(move_tb2)

## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS 
    tf
    rospy
    actionlib_msgs
    actionlib
    move_base_msgs
    move_base
    message_generation

)

add_service_files(
  FILES
  Destination.srv
)

generate_messages(
  DEPENDENCIES
  std_msgs
)


# What other packages will need to use this package
catkin_package(
    CATKIN_DEPENDS tf rospy move_base message_runtime
)

# catkin_add_env_hooks(25.turtlebot-navigation SHELLS sh DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks)


###########
## Build ##
###########
include_directories(${catkin_INCLUDE_DIRS})

install(PROGRAMS
    scripts/gotopoint.py
      DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
 )

